const getters = {
  sidebar: state => state.app.sidebar,
  device: state => state.app.device,
  token: state => state.user.token,//token数据
  avatar: state => state.user.avatar,//用户头像
  name: state => state.user.name//用户昵称数据
}
export default getters
